This example uses the addEventListener() method to attach an "animationstart" event to a DIV element.

The animationName property returns the animation name used in this animation:

Note: The animationName property is not supported in IE9 and earlier versions.